package com.feng.vhr.service;

import com.feng.vhr.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.vhr.response.Rmenu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feng
 * @since 2022-05-09
 */
public interface IMenuService extends IService<Menu> {
    //通过权限id获取菜单
    public List<Rmenu> getMenuByRole(int uid);
    //获取所有菜单
    public List<Rmenu> getAllMenu();

}
